<%--
  Created by IntelliJ IDEA.
  User: 23694
  Date: 2023/10/7
  Time: 17:23
  To change this template use File | Settings | File Templates.
--%>
<%@page isELIgnored="false" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>vote_ok </title>
</head>
<body>
<h1>获取的的数据显示页面</h1>
<hr>
取出 request 域的数据  -- 通过el表达式获取
address = ${requestScope.address}
主人名字= ${requestScope.master.name}
主人信息= ${requestScope.master.id}
宠物名字= ${requestScope.master.pet.name}
<%--宠物名字2 = ${requestScope.pet1.name}--%>


<hr>
取出 session 域的数据 <br>
主人名字= ${sessionScope.master.name }
主人信息= ${sessionScope.master }
地址 = ${sessionScope.address}
</body>
</html>
